package addressBook;

import java.io.Serializable;

public class contact implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String firstName;
	private String lastName;
	private String address;
	private String persoHomeNum;
	private String city;
	/*private String persoMobileNum;
	private String proMobileNum;
	private String proOfficeNum;*/
	private String url;
	private String email;
	
	contact(String[] niah){
		firstName=niah[0];
		lastName=niah[1];
		persoHomeNum=niah[2];
		address=niah[3];
		city=niah[4];
		url=niah[5];
		email=niah[6];
	}
	
	//First name getter and setter
	public String getFirstName() {
		return firstName;
	}
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	//Last name getter and setter
	public String getLastName() {
		return lastName;
	}
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	//Address getter and setter
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	//City getter and setter
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	//Home phone number getter and setter
	public String getPersoHomeNum() {
		return persoHomeNum;
	}
	public void setPersoHomeNum(String persoHomeNum) {
		this.persoHomeNum = persoHomeNum;
	}
	/* //Personal mobile phone number getter and setter
	public String getPersoMobileNum() {
		return persoMobileNum;
	}
	public void setPersoMobileNum(String persoMobileNum) {
		this.persoMobileNum = persoMobileNum;
	}
	//Pro mobile phone getter and setter
	public String getProMobileNum() {
		return proMobileNum;
	}
	public void setProMobileNum(String proMobileNum) {
		this.proMobileNum = proMobileNum;
	}
	//Pro office phone number getter and setter
	public String getProOfficeNum() {
		return proOfficeNum;
	}
	public void setProOfficeNum(String proOfficeNum) {
		this.proOfficeNum = proOfficeNum;
	}
	//Pro email getter and setter
	public String getProEmail() {
		return proEmail;
	}
	public void setProEmail(String proEmail) {
		this.proEmail = proEmail;
	}*/
	//Home page url getter and setter
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	//Home email getter and setter
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	
}
